package com.artron.baselib.entity;


/**
 * Created by Doing on 2016/9/9.
 */
public class Response<T> {

    private String status;
    private T entitys;
    private T data;
    private String message;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public boolean isStatus() {
        if ("OK".equals(getStatus())) {
            return true;
        }
        return false;
    }

    public T getEntitys() {
        return entitys;
    }

    public void setEntitys(T entitys) {
        this.entitys = entitys;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
